﻿namespace GoodAdmin.System;

public class SysDictDataSeedData : ISqlSugarEntitySeedData<SysDictData>
{
    public IEnumerable<SysDictData> HasData()
    {
        return new[] {
            //状态
            new SysDictData{ Id=1600000000001,DictTypeId=1500000000011, Name="启用",Value="enable",TagSize="small",TagType="success", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000002,DictTypeId=1500000000011, Name="禁用",Value="disable",TagSize="small",TagType="info", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},

            //菜单类型
            new SysDictData{ Id=1600000000003,DictTypeId=1500000000012, Name="目录",Value="dirctory",TagSize="small",TagType="", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000004,DictTypeId=1500000000012, Name="菜单",Value="menu",TagSize="small",TagType="success", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000005,DictTypeId=1500000000012, Name="按钮",Value="button",TagSize="small",TagType="warning", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},

            //组织类型
            new SysDictData{ Id=1600000000006,DictTypeId=1500000000013, Name="公司",Value="company", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000007,DictTypeId=1500000000013, Name="部门",Value="department", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            
            //职位类型
            new SysDictData{ Id=1600000000008,DictTypeId=1500000000014, Name="管理层",Value="admin", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000009,DictTypeId=1500000000014, Name="技术",Value="technology", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000010,DictTypeId=1500000000014, Name="后勤",Value="logistics", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},

            //性别
            new SysDictData{ Id=1600000000011,DictTypeId=1500000000021, Name="男",Value="male", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000012,DictTypeId=1500000000021, Name="女",Value="female", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},

            //证件类型
            new SysDictData{ Id=1600000000013,DictTypeId=1500000000023, Name="身份证",Value="idCard", SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000014,DictTypeId=1500000000023, Name="驾驶证",Value="driveCard", SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000015,DictTypeId=1500000000023, Name="准考证",Value="admissionCard", SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},

            //菜单类型
            new SysDictData{ Id=1600000000016,DictTypeId=1500000000015, Name="全部",Value="DataScopeAll",TagSize="small",TagType="", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000017,DictTypeId=1500000000015, Name="本人所属组织",Value="DataScopeOwnOrg",TagSize="small",TagType="success", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000018,DictTypeId=1500000000015, Name="本人所属及所有下级组织",Value="DataScopeOrgAndChild",TagSize="small",TagType="warning", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000019,DictTypeId=1500000000015, Name="仅本人",Value="DataScopeSelf",TagSize="small",TagType="danger", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
            new SysDictData{ Id=1600000000020,DictTypeId=1500000000015, Name="自定义",Value="DataScopeDefine",TagSize="small",TagType="info", SystemMark=CommonConst.SYSTEM,SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
           
            new SysDictData{ Id=1600000000021,DictTypeId=1500000000031, Name="用户管理",Value="UserManager",TagSize="small",TagType="info", SortCode=1, CreateUserId=110000000000001,CreateTime=DateTime.Now},
        };
    }
}